﻿@model Yeap.Models.StudentBlockModel

@using Yeap.Kernel.Utils;

@if (Model.Students.Count > 0)
{
    

<table class="BaseTable" cellspacing="0" cellpadding="0">
    <tbody>
        <tr>
            <th>Студент</th>
            <th>Тип заявки</th>
            <th>Возможные действия</th>
            
        </tr>
        @foreach (var student in Model.Students)
        {
            <tr>
            <td>@student.User.FullName</td>
            <td>@student.Type.AssignmentTypeToString()</td>
            <td>HERE BE Dragons</td>
            </tr>    
        }
        
    </tbody>
</table>
}
else
{
    <text>
        Заявок нет
    </text>
}